package com.yanlight.app.service;

import com.aliyuncs.exceptions.ClientException;
import com.yanlight.exception.ErrorType;
import com.yanlight.support.http.Response;

public interface CheckCodeService {

    Response save(String phone, String type, String ip) throws ClientException;

    boolean canSend(String phone, String type, String ip);

    ErrorType verifyCode(String phone, String type, String ip);

}
